﻿
namespace Chess.Domain.UnitTest.Mocks
{
    public class MockGameDeterminant : IGameDeterminant
    {
        private bool _IsCheckmate;
        private bool _IsDraw;
        private bool _IsStalemate;

        public void SetCheckmate(bool value)
        {
            _IsCheckmate = value;
        }

        public void SetStalemate(bool value)
        {
            _IsStalemate = value;
        }

        public void SetDraw(bool value)
        {
            _IsDraw = value;
        }

        public bool IsCheckmate(Game game)
        {
            return _IsCheckmate;
        }

        public bool IsDraw(Game game)
        {
            return _IsDraw;
        }

        public bool IsStalemate(Game game)
        {
            return _IsStalemate;
        }
    }
}
